package com.example.moban.beans;



/**
 * @author huling
 * @date: 2019/2/18.
 */
public class VersionInfoBean {


    private int code;
    private DataBean data;
    private String message;
    private boolean success;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }


    public static class DataBean{
        private long id;
        //ios版本号
        private String iosVersion;
        //ios更新内容
        private String iosDescription;
        //ios安装包下载地址
        private String iosUrl;



        //最新版本号_安卓
        private String androidVersion;
        //安卓下载地址
        private String androidUrl;
        //更新文案_安卓
        private String androidDescription;
        //是否强制更新 0:否；1：是
        private int forceUpdate;
        //更新时间
        private String updateTime;
        private int  type;       //类型（1-家长端 2-教师端）


        private int isOfficial;





        public int getIsOfficial() {
            return isOfficial;
        }

        public void setIsOfficial(int isOfficial) {
            this.isOfficial = isOfficial;
        }

        public void setForceUpdate(int forceUpdate) {
            this.forceUpdate = forceUpdate;
        }

        public long getId() {
            return id;
        }

        public String getIosVersion() {
            return iosVersion;
        }

        public String getIosDescription() {
            return iosDescription;
        }

        public String getIosUrl() {
            return iosUrl;
        }

        public String getAndroidVersion() {
            return androidVersion;
        }

        public String getAndroidUrl() {
            return androidUrl;
        }

        public String getAndroidDescription() {
            return androidDescription;
        }

        public int getForceUpdate() {
            return forceUpdate;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setId(long id) {
            this.id = id;
        }

        public void setIosVersion(String iosVersion) {
            this.iosVersion = iosVersion;
        }

        public void setIosDescription(String iosDescription) {
            this.iosDescription = iosDescription;
        }

        public void setIosUrl(String iosUrl) {
            this.iosUrl = iosUrl;
        }

        public void setAndroidVersion(String androidVersion) {
            this.androidVersion = androidVersion;
        }

        public void setAndroidUrl(String androidUrl) {
            this.androidUrl = androidUrl;
        }

        public void setAndroidDescription(String androidDescription) {
            this.androidDescription = androidDescription;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}